package com.jmp.api.admin.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;
import one.stand.dto.PageResponse2;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author cjr
 */
@Data
@Builder
public class TicketOrderListResponse {

    private PageResponse2<Order> orders;

    @Data
    @Builder
    public static class Order {
        private Integer id;
        private BigDecimal orderMoney;
        private Integer creater;
        private String createrName;
        private String orderNo;
        private Date ctime;
        private Integer status;
        private Integer auditCount;
        private Integer auditor;
        private String auditorName;
        private String photo;
        private String payPhoto;
        private String memo;
        private String memoTel;

        private Integer companyId;
        private String companyName;
        @ApiModelProperty("入驻商家:0不是 1是")
        private Integer companyType;
        @ApiModelProperty("进货企业电话")
        private String companyPhone;

        private Integer fromCompanyId;
        private String fromCompanyName;
        @ApiModelProperty("非入驻商家:0不是 1是")
        private Integer type;
        private String phone;
        private String addr;
    }
}
